LUA LOAD STRING
With this command you can load strings as so called lua chunks into the actual lua state. It parses the string you specify, compiles and then runs it, if the string contains proper LUA scripting code.
The first argument represents the actual chunk data in form of a string.
Note that the string you specify can either be valid text code, or binary code compiled with 'luac', the lua compiler.
The chunk_name is only used in conjunction with error message output.
You should check for errors after calling this command, since there could have been a parsing error (when using text code).
SYNTAX
LUA LOAD STRING lua_chunk as String, chunk_name as String
RELATED INFO
LUA command menu
Index
EXAMPLE
Showcase-example 1
Showcase-example 2